package android.pot.com.smartcar.entity;

import java.util.ArrayList;
import java.util.List;

public class HomeEntity {
    private List<AdData> ad = new ArrayList<>();

    private LogoData logo;

    private List<GoodsData> goods = new ArrayList<>();

    private List<ServiceData> service = new ArrayList<>();

    public List<AdData> getAd() {
        return ad;
    }

    public void setAd(List<AdData> ad) {
        this.ad = ad;
    }

    public LogoData getLogo() {
        return logo;
    }

    public void setLogo(LogoData logo) {
        this.logo = logo;
    }

    public List<GoodsData> getGoods() {
        return goods;
    }

    public void setGoods(List<GoodsData> goods) {
        this.goods = goods;
    }

    public List<ServiceData> getService() {
        return service;
    }

    public void setService(List<ServiceData> service) {
        this.service = service;
    }

    public class ServiceData{
        private String name;

        private int id;

        private String img_url;

        public String getImg_url() {
            return img_url;
        }

        public void setImg_url(String img_url) {
            this.img_url = img_url;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }
    }
    public class GoodsData{

        private String goods_id;

        private String full_name;

        private String original_price;

        private String special_price;

        private String plan;

        public String getGoods_id() {
            return goods_id;
        }

        public void setGoods_id(String goods_id) {
            this.goods_id = goods_id;
        }

        public String getFull_name() {
            return full_name;
        }

        public void setFull_name(String full_name) {
            this.full_name = full_name;
        }

        public String getOriginal_price() {
            return original_price;
        }

        public void setOriginal_price(String original_price) {
            this.original_price = original_price;
        }

        public String getSpecial_price() {
            return special_price;
        }

        public void setSpecial_price(String special_price) {
            this.special_price = special_price;
        }

        public String getPlan() {
            return plan;
        }

        public void setPlan(String plan) {
            this.plan = plan;
        }
    }
    public class LogoData{
        private String img_url;



        public String getImg_url() {
            return img_url;
        }

        public void setImg_url(String img_url) {
            this.img_url = img_url;
        }
    }
    public class AdData{
        private String img_url;
        private String detail_img;

        public String getDetail_img() {
            return detail_img;
        }

        public void setDetail_img(String detail_img) {
            this.detail_img = detail_img;
        }
        public String getImg_url() {
            return img_url;
        }

        public void setImg_url(String img_url) {
            this.img_url = img_url;
        }
    }
}
